package com.luoran.bartalks.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.mapper.BaseMapper;

import com.luoran.bartalks.entity.biz.BtUserMenu;

public interface IBtUserMenuDao extends BaseMapper<BtUserMenu> {

	// 获取菜单树中生效的用户菜单
	List<BtUserMenu> getUserMenu(@Param("userId") String userId);

	// 删除用户原有菜单
	void deleteUserMenus(@Param("userId") String userId);

}
